package org.cainiao.api.lark.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
public class LarkResponse implements Serializable {

    @Serial
    private static final long serialVersionUID = 8069338765657809120L;

    private int code;

    private String msg;

    private LarkError error;

    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    @Data
    public static class LarkError implements Serializable {
        @Serial
        private static final long serialVersionUID = -1306336080235159553L;

        private String logId;
    }
}
